<html xmlns="http://www.w3.org/1999/xhtml" xmlns:h="http://java.sun.com/jsf/html" xmlns:f="http://java.sun.com/jsf/core" xmlns:ui="http://java.sun.com/jsf/facelets" xmlns:p="http://primefaces.org/ui">
<ui:composition>
	<ui:param name="idTag" value="#{id}" />
	<ui:param name="labelTag" value="#{label}" />
	<ui:param name="valueTag" value="#{value}" />
	<ui:param name="itemsTag" value="#{items}" />
	<ui:param name="converterTag" value="#{converter}" />
	<ui:param name="itemLabelTag" value="#{itemLabel}" />

	<p:outputLabel for="#{idTag}" value="#{labelTag}:" style="float:right;" />
	<p:selectManyMenu id="#{idTag}" value="#{value}" style="height:100px;width:100%;">
		<f:converter converterId="#{converterTag}" />
		<f:selectItems value="#{itemsTag}" var="item" itemLabel="#{item[itemLabelTag]}" itemValue="#{item}" />
	</p:selectManyMenu>
	<p:message for="#{idTag}" display="icon" />
</ui:composition>
</html>